package com.qq2008.game.mojie.jdo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("base_letter")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Letter extends Base{




    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private Long sendId;//发送人ID

    private Long getId;//接收人ID

    private String content;//私信内容

    private String sendName;//发信人昵称

    private Integer isRead;//是否查看私信

    @TableField(exist = false)
    private String showTime;//前端显示时间
}
